package com.itheima.test1;

public class TaiDi extends Dog{
    public TaiDi() {
    }

    public TaiDi(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println("一只叫"+this.getName()+"的，"+this.getAge()+"岁的泰迪，正在吃骨头，边吃边蹭");
    }
}
